<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<%

Response.Expires = 0
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"

Response.ContentType="text/html" 

BT_ID = reform("BT_ID")

sql = "select IT_ID,IT_NAME,BT_ID from uvw_News_Type where BT_ID=" &BT_ID& " ORDER BY it_order ASC"

Set rsTemp = conn.execute(sql)


Do While Not rsTemp.eof
	return_name = return_name&rsTemp("IT_ID")&","&rsTemp("IT_NAME")&"|"
	rsTemp.movenext
Loop

If Len(return_name)>1 Then	
	return_name = Left(return_name,Len(return_name)-1)
End If

Set rsTemp = Nothing

Conn_Close()

Response.Write return_name

%>